app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(neq, x)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(cons, y), app2(app2(filter, f), ys))
NONZERO -> APP2(neq, 0)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(filtersub, app2(f, y))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(filtersub, app2(f, y)), f)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
NONZERO -> APP2(filter, app2(neq, 0))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(neq, x)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(cons, y), app2(app2(filter, f), ys))
NONZERO -> APP2(neq, 0)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(filtersub, app2(f, y))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(filtersub, app2(f, y)), f)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
NONZERO -> APP2(filter, app2(neq, 0))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
POL( neq ) = 3
POL( s ) = max{0, -2}
POL( APP2(x1, x2) ) = x1 + 1
POL( app2(x1, x2) ) = 3x1 + 2x2 + 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
Used ordering: Polynomial Order [17,21] with Interpretation:
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
POL( true ) = 0
POL( filter ) = max{0, -3}
POL( neq ) = 2
POL( filtersub ) = 2
POL( false ) = 1
POL( app2(x1, x2) ) = max{0, 2x1 + 2x2 - 3}
POL( 0 ) = 1
POL( APP2(x1, x2) ) = max{0, 2x2 - 3}
POL( s ) = 2
POL( nil ) = 3
POL( cons ) = 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))